import formBuilder from "@/comps/form/formBuilder";
import api from "./api";

export default {
    main:function () {
        let fb = formBuilder()
        fb.setLabelWidth(100)

        fb.addText("name").setSpan(3).setLabel("单位名称")
        fb.addText("en").setSpan(3).setLabel("单位英文")
        fb.addBlank("n","",6)

        fb.addText("sort","排序",6).setTypeNumber()

        return fb
    },
    other:function () {
        let fb = formBuilder()
        fb.setLabelWidth(100).setLabelPosition("right")

        return fb
    }
}